import request from '@/http/request'
// 工作台
// 首页
export function index(data) {
    return request.get(`/client/clientHome/index`, data)
}
// 签署合同查询--我发起的(待处理)、 待我签署
export function signatoryList(data) {
    return request.post(`/client/clientHome/signatoryList`, data)
}
// 待我审批/待审批
export function sealAuditList(data) {
    return request.post(`/client/clientHome/sealAuditList`, data)
}
//发起签署/app/contractSigning/addContractSigning
export function addContractSigning(data) {
    return request.post(`/client/handlingSigning/addContractSigning`, data)
}
// 草稿列表
export function queryDraftPageList(data) {
    return request.get(`/client/clientHome/queryDraftPageList`, data)
}
//选择主体
export function selectMainBody(data) {
    return request.post(`/client/clientHome/selectMainBody`, data)
}
// 合同详情
export function hasUserSealJurisdiction(data) {
    return request.get(`/client/contractModel/hasUserSealJurisdiction`, data)
}
// 印章签署
export function sealContractSigning(data) {
    return request.post(`/client/contractModel/sealContractSigning`, data)
}
// 合同流程
export function contractSigningProcess(data) {
    return request.get(`/client/contractModel/contractSigningProcess`, data)
}
// 签署认证
export function contractSigningAuth(data) {
    return request.post(`/client/contractModel/contractSigningAuth`, data)
}
// 拒绝签署
export function refuseContractSigning(data) {
    return request.post(`/client/contractModel/refuseContractSigning`, data)
}
// 拒绝解约
export function refuseRelieveContractSigningRequest(data) {
    return request.post(`/client/contractModel/refuseRelieveContractSigningRequest`, data)
}
// 同意解约
export function agreeRelieveContractSigningRequest(data) {
    return request.post(`/client/contractModel/agreeRelieveContractSigningRequest`, data)
}
// 申请解约
export function relieveContractSigningRequest(data) {
    return request.post(`/client/contractModel/relieveContractSigningRequest`, data)
}
// 撤回合同

export function withdrawContractSigningRequest(data) {
    return request.post(`/client/contractModel/withdrawContractSigningRequest`, data)
}

// 用印申请
export function useSealJurisdictionRequest(data) {
    return request.post(`/client/contractModel/useSealJurisdictionRequest`, data)
}
// 用印驳回同意
export function useSealJurisdictionAudit(data) {
    return request.post(`/client/contractModel/useSealJurisdictionAudit`, data)
}
